package com.example.SpringBoot_demo.service;

import com.example.SpringBoot_demo.bean.BorrowHistory;
import org.springframework.stereotype.Service;

import java.util.List;

public interface BorrowService {
    void insertBorrowHistory(String userid,String username,String bookId);
    List<BorrowHistory> myBorrowHistory(String userid,String flag);
    void returnBook(String bookid,String userid);
}
